package com.wing.device.model.request;

import com.wing.device.model.entity.MaintenanceExecuteDetail;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @version 1.1.0
 * @Author hz
 * @Date 2024-08-23 15:21
 **/
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class MaintenanceExeDetailForm {

    private String taskId;

    //任务类型
    private String taskType;

    //设备id
    private String deviceNo;

    //点位号
    private String deviceLocation;

    //实施前图片地址
    private String preImg;

    //实施后图片地址
    private String postImg;

    //实际用时
    private Double userTime;

    //停机时间
    private LocalDateTime stopTime;

    //任务性质
    private Long taskNature;

    //维保类型
    private String maintenanceType;

    //任务备注
    private String taskRemark;

    //故障现象
    private String faultDescription;
    //排除方法
    private String repairDescription;
    //遗留问题
    private String remainingProblems;
    //故障原因
    private String faultReason;

    //任务名称
    private String taskName;
    //结束备注
    private String endRemark;
    //总金额
    private BigDecimal materialAmount;

    //物料信息
    private List<MaintenanceExecuteDetail> executeDetail;
}
